﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OntoWPFSilverlight;
using OntoWPFSilverlight.Xml;
using System.Xml;

namespace OntoWPFSilverlight.Interfaces
{
    public interface IWidgetContainer
    {
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        List<IWidget> Widgets { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        List<IWidgetViewer> ViewerWidgets { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        OntoWPFSilverlight.Xml.Ontology Ontology { get; set; }

        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        WidgetSize WidgetSize { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        WidgetFont WidgetFont { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        Appearance Appearance { get; set; }


        //Property
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        String Name { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        String Text { get; set; }
    }
}
